home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / ACORNUSERS / CBSA / INTERNET / ANTUTILS / !AntUtils / !Help < prev    next >
Text File  |  1999-09-30  |  23KB  |  485 lines

  1. !Help file for !AntUtils v1.24 (29th Sep 1999)
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. Please read (or at least scan through) all these instructions because I may
  5. have added some new features since the last version - namely Plugins.
  6.  
  7. Copyright and Application Status
  8. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9. Written by Paul Vigay, Jan 1997. This program is freeware, on the condition
  10. that it is copied in it's entirety without any files being changed.
  11.  
  12. However, any donations will be gratefully accepted and will help inspire me
  13. to do further development and support the RISC OS/Acorn software market.
  14. A fiver would be nice, to cover some of the electricity used whilst coding
  15. and to buy more packets of tea or Hobnobs, for all those late nights.
  16.  
  17. The copyright remains with the author (Paul Vigay) at all times.
  18.  
  19.  
  20. Purpose
  21. ~~~~~~~
  22. To add various utilities to the Ant Internet Suite. Firstly, I wanted a way
  23. to automatically check mail every so often whilst I'm online surfing the
  24. world wide web. Other than Ant's suggestion of setting up a repeating task
  25. alarm in !Alarm, there doesn't seem to be an easy way of fetching mail
  26. automatically, and only if the Ant Suite is online (!Alarm doesn't like it if
  27. !InetSuite is not running)
  28. I also wanted a way of adding a random 'fortune cookie' or 'quote' onto the
  29. end of signature lines.
  30. AntUtils performs both of these tasks with each having it's own configurable
  31. time delay.
  32. Over time, I have also added a number of other features, described below.
  33.  
  34.  
  35. Use/Choices
  36. ~~~~~~~~~~~
  37. To open the choices/configuration window, simply select 'Choices...' from the
  38. icon bar menu. This will open the choices window.
  39. To change a value simply enter a new value. If you want the feature turned
  40. on, simply toggle the icons on the left.
  41. Clicking on 'Save' will permanently (until the next time you click on 'Save')
  42. save the choices back to disc. OK will simply change them for this session
  43. only.
  44.  
  45. 'Check online mail and news' will allow you to automatically fetch either/or
  46. mail/news every so many minutes if you are online. This saves keep selecting
  47. the relevant menu option from the AntSuite icon menu.
  48.  
  49. 'Use random sig', if on, will automatically append a random cookie to your
  50. signature file. The master signatures are stored within AntUtils.Files.Users
  51. and the relevant username directory.
  52.  
  53. 'Auto status', if on, will automatically open the status window when you go
  54. nline and then close it again when you disconnect.
  55.  
  56. 'Quit with InetSuite' will make !AntUtils quit automatically when you quit
  57. !InetSuite.
  58.  
  59. 'Lan connection' tells AntUtils to think it is permanently online, for people
  60. who use AntUtils via a local area network.
  61.  
  62. 'Multi-users' allows AntUtils to keep an eye on multiple user accounts and to
  63. automatically update phone logs, hotlists, signatures etc for more than one
  64. user.
  65.  
  66. 'News reader' allows you to tell AntUtils whether you are using Marcel or
  67. Jon Duddington's Pluto newsreader. This ensures that AntUtils knows where the
  68. relevant files and signatures are stored etc.
  69.  
  70. Clicking on Paths.... opens a small window which allows you to set the file
  71. paths for both Marcel and Pluto. This allows AntUtils to be run even if
  72. other applications have not been 'seen' yet. This allows you to install
  73. AntUtils as part of a !Boot sequence before the AntSuite has been loaded.
  74. To set the filepaths, simply locate your copy of !InetSuite and drag into the
  75. InetSuite icon in the path window.
  76. If you are using !Pluto, do the same to Pluto (but into the 'Pluto' icon).
  77. Remember to save the choices if you wish to keep these filepaths.
  78. From version 1.16 onwards you can also set a 'Downloads' path. Simply drag any
  79. directory from your disc onto this icon and AntUtils will save any files
  80. dragged onto its icon into this directory. This is handy if Fresco suddenly
  81. pops up a save dialogue box and you haven't opened a directory window.
  82.  
  83. 'Auto Debatch' will only be available if you have selected Pluto as your
  84. preferred newsreader. If then toggled to 'on', AntUtils will tell Pluto to
  85. debatch new email messages one minute after the online newsfetch. eg. If your
  86. mail fetch is set to five minutes, and debatch is on, then AntUtils will tell
  87. Pluto to debatch email messages after six minutes. Hopefully one minute after
  88. fetching mail will be enough, but advanced users can edit the AntUtils messages
  89. file to allow longer times.
  90. News debatches will occur in the same fashion, but two minutes after the news
  91. fetch command. (Again, advanced users may edit the messages file)
  92. N.B. Pluto will normally bring it's boxes window to the front when it performs
  93. a debatch, even if no messages are debatched. This effect can be toggled on
  94. and off by clicking on the small 'plus sign' to the right of the debatch icon.
  95. If a small 'plus sign' is visible, Pluto will bring its window to the front.
  96.  
  97. 'Log cron events' will store each cron event in a log file, so that if you
  98. leave AntUtils to run automatic scripts you can come back later to check if
  99. the various commands have executed successfully.
  100.  
  101. 'Quick mail send' will tell AntUtils to check the Ant outgoing mail queue every
  102. five seconds (editable within the AntUtils.Resources.Messages file) for any
  103. mail messages waiting to be sent. If there are any, AntUtils will instruct the
  104. Ant Suite to send them immediately rather than wait until the next mail check.
  105. This option actually overrides the 'Check online mail' option because it will
  106. still activate even if the auto mail timer is turned off.
  107.  
  108. 'Check RMA' allows AntUtils to ensure that a minimum amount of RMA space is
  109. always available, hence fixing the fabled DLL crashing that the Ant Suite
  110. sometimes suffers from. The actual value of RMA space is defined within the
  111. AntUtils.Resources.Messages file and it's default value is 128k.
  112. This is only scanned if you are using a dialup connection. If using a LAN it
  113. is ignored.
  114.  
  115. 'Cancel' will restore the settings to the previously saved ones.
  116.  
  117. 'Save' will save the settings for future use.
  118.  
  119. 'OK' will ok the settings for this session only, but next time you load
  120. AntUtils, the settings will be their original values.
  121.  
  122.  
  123. Status Window
  124. ~~~~~~~~~~~~~
  125. A status window can be opened by selecting 'Status' from the icon bar menu or
  126. just clicking SELECT on the AntUtils icon.
  127. This simply opens a small window giving you the current modem/INetSuite
  128. status along with the time delay until the next mail check or signature
  129. change.
  130.  
  131.  
  132. Auxillary Applications
  133. ~~~~~~~~~~~~~~~~~~~~~~
  134. If you click Adjust over the icon bar icon, AntUtils will open an auxillary
  135. utilities window. This operates very much like a mini pinboard and allows
  136. you to drag up to 8 applications into it, so you can launch them by double-
  137. clicking on the one you want. Apps are automatically saved within AntUtils
  138. so they are available next time you load AntUtils.
  139.  
  140.  
  141. LAN connection
  142. ~~~~~~~~~~~~~~
  143. If you use InetSuite over a Local Area Network (LAN) you can toggle the LAN
  144. option on. This will tell !AntUtils that you have a permanent connection and
  145. will ignore the automatic on/offline detection.
  146.  
  147.  
  148. Multi-users
  149. ~~~~~~~~~~~
  150. v1.03 and above of AntUtils will automatically provide some multi-user support
  151. for more than one user wanting to have settings within !InetSuite - for example
  152. multiple Fresco Hotlist files and call logging files.
  153. Simply select the user you require from the 'Users' menu and !AntUtils will
  154. manage the individual files for you. This allows different people using the
  155. same copy of !InetSuite to have their own hotlists and telephone logs. This 
  156. feature was added after noticing various requests for this on the AntChat
  157. mailing list.
  158. When you quit !AntUtils, the original files will be restored (ie. the files
  159. active when !AntUtils was loaded in the first place).
  160.  
  161. N.B. Please let me know of any bugs in this code, as obviously there are
  162. numerous different combinations of files. Please don't blame me if your hotlist
  163. file(s) get lost or corrupted. Although I've tested it as thoroughly as
  164. possible, it is still possible that certain combinations may confuse AntUtils.
  165.  
  166.  
  167. Search
  168. ~~~~~~
  169. The Search sub-menu from the main icon bar menu allows you to search the web
  170. for a specified string, using a variety of 'Search Engines'. By clicking on
  171. the required engine name, it will set that one for future searches - simply
  172. enter the string you wish to search for in the writable icon at the top.
  173. If you wish to search multiple engines simultaneously, hold SHIFT down whilst
  174. you click on a new engine.
  175. The engines currently ticked are also saved within the choices when you save
  176. choices.
  177.  
  178.  
  179. Fresco Control
  180. ~~~~~~~~~~~~~~
  181. The first option in the Fresco sub-menu provides a simple way to delete various
  182. Fresco control files.
  183. The 'Delete' sub-menu has the following 5 options;
  184.  
  185.     Delete Cache:    This will erase Fresco's local cache. If Fresco is
  186.                     already loaded, then just the files will be deleted
  187.                     and the directory structure will be left intact. This
  188.                     is to stop Fresco throwing a wobbly when it suddenly
  189.                     finds that its cache has disappeared!
  190.                     If Fresco is NOT loaded when you select this option,
  191.                     then the entire Fresco cache directory will be
  192.                     deleted. This won't cause any harm because Fresco
  193.                     will recreate it next time you load it.
  194.  
  195.     Delete Cookies:    This will erase Fresco's cookies file. The cookie 
  196.                     file is where some web sites can customise the look
  197.                     you get depending upon your own profile.
  198.                     
  199.     Delete History:    This will erase Fresco's history list, but won't
  200.                     come into operation until you next load Fresco.
  201.                     You may also find that it's not completely erased,
  202.                     because Fresco saves it's current history when quit,
  203.                     so if Fresco is already running when you select this
  204.                     option, then it will write a new history when you do
  205.                     quit Fresco.
  206.                     
  207.     Delete Users:    This will delete Fresco's Users file. This is the file
  208.                     in which usernames and passwords are stored for some
  209.                     sites requiring a password entry. Be careful of deleting
  210.                     this file in case you can no longer remember what your
  211.                     passwords are.
  212.                     
  213.     Delete All:    This will perform the four operations above in one
  214.             single operation. Read the notes for each option before
  215.             you use this option.
  216.             
  217. Back to the main Fresco sub-menu, and the following options are available:-
  218.  
  219.  
  220.     Open cache:    This will merely open Fresco's cache directory from
  221.                     inside the scrap directory. This may be handy if you
  222.                     want to manually examine it.
  223.  
  224.         Cookies:        Toggle Cookies on and off.
  225.                         This requires Fresco to be re-loaded in order for the
  226.                         changes to take effect.
  227.                         It will be greayed out if your version of Fresco does
  228.                         not support Cookies.
  229.         
  230.         Javascript:     Toggle Javascript on and off.
  231.                         This only works with Fresco 2.02 and above and requires
  232.                         Fresco to be re-loaded in order for the changes to take
  233.                         effect.
  234.                         It will be greayed out if your version of Fresco does
  235.                         not support Javascript.
  236.                         N.B. If you've just upgraded to version 2.02 or above, 
  237.                         you will need to re-save the choices from Fresco in order
  238.                         for the Javascript options to become active.
  239.  
  240.             Faking:     Leads to a sub-menu providing various degrees of browser
  241.                         faking. Simply select the options you require. This may
  242.                         help you to access some sites that would otherwise be
  243.                         inaccessible.
  244.                         This option will be greyed out if your version of Fresco
  245.                         is too old.
  246.                         N.B. If you've just upgraded to version 2.02 or above, 
  247.                         you will need to re-save the choices from Fresco in order
  248.                         for the Mozilla options to become active.
  249.     
  250.  
  251. Open Directories
  252. ~~~~~~~~~~~~~~~~
  253. The 'Open' option from the main icon bar menu leads to a submenu from which you
  254. can tell AntUtils to open various internal AntSuite directories. This is handy
  255. if you suspect that a particular mail/news article has got stuck in the input or
  256. output queue.
  257. The 'URL Store' option will launch AntUtils internal hot list of stored URLS into
  258. a Fresco window (see below). If you hold down SHIFT whilst clicking on 'HotList',
  259. AntUtils will load the internal HTML file into a text editor so that you can edit
  260. it by hand. This may be required if you wish to delete entries from it.
  261.  
  262.  
  263. URL Store
  264. ~~~~~~~~~
  265. Whilst AntUtils is loaded it will intercept all 'launch URL' wimp messages and
  266. determine whether you are online (or on a LAN) and thus, whether or not the URL
  267. can be fetched immediately. If AntUtils thinks that the URL can't be fetched
  268. immediately it will open a URL store window containing the URL in question.
  269. You can enter an optional description (or notes) for the URL if you like and
  270. click 'OK' to store within AntUtils' internal HotList - for viewing later.
  271. Click 'Cancel' to ignore the URL.
  272. A third option, 'Launch anyway' will attempt to visit the URL anyway. This is
  273. handy if the site has already been visited and is in Fresco's cache.
  274. N.B. This function only works if AntUtils is loaded BEFORE Fresco (or another
  275. web browser). This is because Fresco will claim the URL message before AntUtils
  276. otherwise.
  277.  
  278.  
  279. Fresco File Download saving
  280. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281. * New feature added at v1.16 *
  282.  
  283. If you drag a file onto the !AntUtils icon on the icon bar, AntUtils will 
  284. automatically save the file into a pre-determined directory. This is useful
  285. if an application suddenly pops up a save dialogue box and you haven't 
  286. opened a directory window in which to save the file. The directory path is
  287. set from the 'Paths' option in the choices window.
  288.  
  289.  
  290. CRON table
  291. ~~~~~~~~~~
  292. From v1.03 onwards !AntUtils can execute various commands at preset times of
  293. the day (assuming !AntUtils is loaded). Full instructions are provided within
  294. the 'cron' file inside !AntUtils.Files.
  295.  
  296. You can execute the next command immediately if you like, by double-clicking
  297. on the "Next Cron" icon in the status window.
  298.  
  299. N.B. Again, please let me know if there are any bugs you find.
  300.  
  301. There are a couple of example cron files inside !AntUtils.Docs.Examples for 
  302. you to examine and perhaps modify for your own use.
  303.  
  304. They will logon to a server at 1pm, load InetSuite and then dial out one
  305. minute later, then 'see' Fresco (in case you want to run WebTool). They will
  306. then wait until 1.30pm (should be long enough to download messages) and then
  307. disconnect (in case InetSuite hasn't timed out and hung up itself) before
  308. Quitting InetSuite and swapping the cron files around (the second one is set
  309. up as an exact duplicate of the first but refetching messages at 5am).
  310. The last line will reset the computer, thus resetting AntUtils to load the 
  311. other cron table. Email me if you are unsure of anything!
  312.  
  313.  
  314. Automatic Commands on Loading or Quitting
  315. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  316. v1.23 and above
  317. If a file called !AntUtils.Files.Start exists, then AntUtils will automatically
  318. execute each command in the file one after the other immediately on first 
  319. loading. The commands recognised are the same ones as the cron commands
  320. mentioned above.
  321. Similarly, if a file called !AntUtils.Files.End exists (also containing a list
  322. of commands) they will be executed whenever AntUtils Quits.
  323.  
  324. Thus, an 'End' file containing the following;
  325.  
  326. quit Ant Fresco
  327. quit Pluto
  328.  
  329. would also quit Fresco and Pluto when AntUtils quits.
  330.  
  331.  
  332. Iconbar Time
  333. ~~~~~~~~~~~~
  334. The info on the icon bar can be toggled between time and free memory by
  335. holding CTRL down while clicking on the icon bar. If you subsequently save
  336. choices, the current setting will be saved for future use.
  337.  
  338.  
  339. PLUGINS
  340. ~~~~~~~
  341. As from version 1.24, AntUtils supports Plugins. These are small auxillary
  342. applications residing in the !AntUtils.Plugins directory, which allows AntUtils
  343. to be more flexible in its operation yet not require any additional memory.
  344. To execute one, simply select the one you require from the main menu. It will
  345. quit automatically as soon as you close its window.
  346.  
  347.  
  348. PLUGIN: Image Index
  349. ~~~~~~~~~~~~~~~~~~~
  350. (Originally added at v1.11)
  351.  
  352. This feature will automatically create an HTML page containing a table of
  353. handy thumbnail images for any directory containing image (Sprite, JPEG, GIF
  354. or PNG - ie. formats understood by Fresco) files.
  355. Drag the HTML icon to the relevant directory to create the file.
  356. The various options are (I hope) self explanatory....
  357.  
  358. If you drag a directory to the Image Indexing window it will set the 
  359. destination directory of the images, if different to the location you wish
  360. to store the index and background image in.
  361. If you wish to create the index file in the same directory as the images,
  362. you MUST ensure that the 'Images' icon is blank.
  363. To set an image directory, you can either drag a directory or drag an
  364. individual file to the indexing window. If you drag an individual file, it
  365. will assume you wish to index the parent directory - ie. the directory that
  366. the file is in.
  367. N.B. AntUtils is fairly intelligent in that it will convert filenames into
  368. a format suitable for web browsing, if images are in a different location to
  369. where you want to save the index file - and also truncate filenames if it
  370. detects that the image directory is a sub-directory of where you are saving
  371. the index file.
  372.  
  373. Max columns decides how many thumbnails go across the page.
  374.  
  375. Max width is the width of each thumbnail image (100 pixels is about right)
  376.  
  377. Cell spacing is the distance between each cell in the table.
  378.  
  379. Use background, if on, will copy the image called 'background' inside
  380. !AntUtils.Resources into the destination directory to use as a background
  381. image. This can be any image type that Fresco recognises (filetypes above!)
  382.  
  383. Add HREFs will automatically add a link from each thumbnail image to the
  384. full size image.
  385.  
  386. Add filenames will also include the filenames underneath each thumbnail.
  387.  
  388. Advanced users may edit the default values for these parameters inside the
  389. !Index Plugin 'Messages' file. Toggle options should be ON or OFF.
  390. You can also set the text of the title text (or have none) and set whether
  391. AntUtils will add a 'created at time' to the index.
  392.  
  393.  
  394. PLUGIN: Marcel Mailbox Recovery
  395. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  396. Clicking on this will open a mailbox recovery window into which you can drag a
  397. corrupted Marcel mailbox. This will set the filepath in both writable icons.
  398. If you wish to change the destination filename (ie. make a copy) then either
  399. drag the Marcel icon into a new location, or edit the filename in the bottom 
  400. icon.
  401. Clicking 'Recover' will start the recovery process and attempt to repair the
  402. corrupt mailbox. This is not guaranteed to fix the mailbox and should only be
  403. used as a last resort, but may help in awkward situations.
  404. Clicking 'Cancel' will abort the operation and close the window.
  405. Notes:
  406.     Whilst recovery is in process, the new output file is temporarily saved
  407.     inside <Wimp$ScrapDir> so that the input file is not damaged in the case
  408.     of severe errors. This also means that the destination can overwrite the
  409.     original if you so desire - but will not actually get overwritten until
  410.     the end.
  411.     If you press escape, the process will halt immediately so you may end
  412.     up with a corrupt 'new' mailbox. If overwriting the original the new
  413.     filename will be amended so that it ends in a tilde (~) symbol (to 
  414.     avoid overwriting the original with a partially copied file).
  415.  
  416.  
  417. PLUGIN: URL Store
  418. ~~~~~~~~~~~~~~~~~
  419. This plugin basically performs the same operation as the URL Store previously
  420. mentioned (see above) does, but is controlled entirely within AntUtils itself,
  421. without needing Fresco.
  422. The benefit of this plugin over launching into Fresco is that you can delete
  423. stored URLs by clicking MENU over the one you wish to delete. 
  424. The actual file is the same as the one that loads into Fresco, so any entries
  425. deleted will be deleted if you launch it into Fresco via the 'Open URL Store' 
  426. menu option (above).
  427.  
  428.  
  429. Advanced Features
  430. ~~~~~~~~~~~~~~~~~
  431. Automatic mail and news checking on Startup:
  432. AntUtils will automatically do a single mail and news check as soon as it
  433. loads. This can be disabled by editing the !AntUtils.Resources.Messages file.
  434. Look for the imm: command and change it to 0 to prevent checking of either
  435. type of message. More instructions are provided within the Messages file, but
  436. don't fiddle around unless you know what you are doing - keep a backup safe.
  437.  
  438. Advanced users can configure whether or not AntUtils appears as an icon on the
  439. icon bar. Load AntUtils !Run file into your favourite editor and insert the 
  440. parameter -noicon immediately after the !RunImage in the last line. Leave a 
  441. space either side. ie, so it looks like
  442.  
  443.                 Run <AntUtils$Path>.!RunImage -noicon %*0
  444.  
  445. The default is to display an icon. ie.
  446.  
  447.                 Run <AntUtils$Path>.!RunImage %*0
  448.  
  449. Once AntUtils is loaded you can toggle the status (ie to make it reappear) by
  450. pressing SHIFT CTRL A U (ie. simultaneously hold down SHIFT, CTRL, A and U)
  451.  
  452. N.B. For the really advanced, the A and the U can be reconfigured by editing the
  453. hotlist1 and hotlist2 lines in the !AntUtils.Resources.Messages file. They are
  454. the INKEY- values as shown in the BBC Basic Guide.
  455.  
  456. There are a few other options in the !AntUtils.Resources.Messages file but don't
  457. change them unless you know what you are doing.
  458.  
  459.  
  460. Future additions
  461. ~~~~~~~~~~~~~~~~
  462. I'm open to suggestions really. If you want extra features added please let
  463. me know. I want AntUtils to provide all the various little utilities you may
  464. need in a single application. Feel free to comment!
  465.  
  466. Contacting me
  467. ~~~~~~~~~~~~~
  468. You can contact me in several ways:-
  469. 1. Email me at pvigay@interalpha.co.uk
  470. 2. Go my Acorn Shareware page on the internet at http://www.vigay.com/riscos/shareware.html
  471. 3. Dial into my BBS (24hr, 8N1) on 01705 871531
  472. 4. Write to me at 104 Manners Road, Southsea, Hampshire, PO4 0BG
  473. 5. or voice-phone me on 01705 871530 (0956 135633 One2One mobile, hence fairly cheap!)
  474.  
  475.  
  476. ©1997 Paul Vigay
  477.  
  478.  
  479. List of files in !AntUtils.Files (ie. alterable by the user)
  480. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  481. /signature    Original signature file. This is the base signature to which
  482.                 quotes get appended to.
  483. quotes        Random quote file. Add your own quotes here, each seperated
  484.         by a single zero (ASCII 0) code.
  485.